package com.sxg.convert;

import com.sxg.entity.SxgImagesEntity;
import com.sxg.vo.SxgImagesVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 商品图片
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgImagesConvert {
    SxgImagesConvert INSTANCE = Mappers.getMapper(SxgImagesConvert.class);

    SxgImagesEntity convert(SxgImagesVO vo);

    SxgImagesVO convert(SxgImagesEntity entity);

    List<SxgImagesVO> convertList(List<SxgImagesEntity> list);

}